AC_INIT(SimpleTrack, 1.0.0, alan.dion@gmail.com)

AC_CONFIG_AUX_DIR(config)
AC_CONFIG_SRCDIR(SimpleTrack.h)

AM_INIT_AUTOMAKE

AC_PROG_CXX
AC_PROG_LIBTOOL

CXXFLAGS="-Wall -Werror -O2 ${CXXFLAGS}"

AC_SUBST(ROOT_LIBS)
ROOT_LIBS=`root-config --libs`

CPPFLAGS="${CPPFLAGS} -I`root-config --incdir`"

AC_CONFIG_FILES([Makefile SimpleTrack.pc])

AC_OUTPUT

